package com.patterns.demo.adapter.classAdapter;

/**
 * Author: SamGroves
 * <p>
 * Description: 适配器类
 * <p>
 * Date: 2017/11/29
 */
public class Adapter extends Source implements Targetabel {

    /**
     * 这样只需要实现method2
     */
    @Override
    public void method2() {
        System.out.println("this is adapter method!");
    }
}
